
	<!-- 当前所在位置 START -->
	{include file="_url.here.tpl"}
	<!-- 当前所在位置 END -->

	<!-- 主体区 -->
	<div class="area">

		<!-- 主体左边区 START -->
		<div class="aleft">
			
			<!-- 左边导航栏 START -->
			{include file='./user/_user.nav.tpl'}
			<!-- 左边导航栏 END -->
			
		</div>
		<!-- 主体左边区 END -->

		<!-- 主体右边区 START -->
		<div class="aright">

			<!-- 收货地址 START -->
			<div class="sl_t_block bdcolor-orange">
				<div class="tt">
					<h2 class="color-orange">收货地址</h2>
				</div>
				<div class="user-address">

					<div class="space20"></div>

					<input type="button" name="add_address" value="新增地址" class="btn-2th" />
					<span class="color-gray">目前已有<b>{$total}</b>个收货地址，最多可以添加<b>10</b>个收货地址！</span>

					{foreach from=$list item=row}
					<!-- 地址1 START -->
					<div class="space20"></div>
					<div class="tit-block">
						<div class="title"><em><a href="./index.php?frm=user&mdl=address&do=edit&id={$row.id}">修改</a></em>地址1：{$row.consignee}，{$row.consignee}</div>
						<div class="pattern_line_right tower_right">
							<dl><dt>收货人：</dt><dd>{$row.consignee}</dd></dl>
							<div class="clear"></div>
							<dl><dt>详细地址：</dt><dd>{$row.address}</dd></dl>
							<dl><dt>邮编：</dt><dd>{$row.zipcode}</dd></dl>
							<dl><dt>手机号码：</dt><dd>{$row.mobile}</dd></dl>
							<dl><dt>固定电话：</dt><dd>{$row.tel}</dd></dl>
							<dl><dt>电子邮箱：</dt><dd>{$row.email}</dd></dl>
							<dl><dt>送货时间：</dt><dd>{$row.besttime}</dd></dl>
							<div class="clear"></div>
						</div>
					</div>
					<!-- 地址1 END -->
					{foreachelse}
					<div class="space20"></div>
					<div class="sysinfo">
						<div class="bg_right">
							<div class="info-block">
								<h2>没有收货地址</h2>
								<div class="space20"></div>
								<div class="detail">现在就去添加收货地址</div>
							</div>
						</div>
					</div>
					{/foreach}

					<div class="space20"></div>
					
					<input type="button" name="add_address" value="新增地址" class="btn-2th" />
					<span class="color-gray">目前已有<b>{$total}</b>个收货地址，最多可以添加<b>10</b>个收货地址！</span>


				</div>
			</div>
			<!-- 收货地址 END -->

		</div>
		<!-- 主体右边区 END -->

	</div>

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!-- 
	{literal}
	jQuery(function($){
		$('input[name="add_address"]').click(function(){
			window.location.href = '/index.php?frm=user&mdl=address&do=edit';
		});
	});
	{/literal}
//-->
</script>

